﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DLL.Training
{
	/// <summary>
	/// 培训班实体类
	/// </summary>
	/// <![CDATA[2014-8-24 13:52:17]]>
	public class Entity : EntityBase
	{
		#region 属性
		public int nSortID = 0;
		public string strName = "";
		public int nDepartmentID = 0;
		public string strStartDate = "";
		public string strEndDate = "";
		public int nUserID = 0;
		public int nUserDepartmentID = 0;
		public string strDateTime = "";
		public string strTeachers = "";
		public int nType = 0;
		public int nState = 0;
		public string strAddress = "";		// 培训地点
		public string strContent = "";		// 培训内容
		public int nOrganizationID = 0;		// 培训机构

		private string strState = "";
		private string strOrganization = "";		// 培训机构名称
		#endregion 属性

		#region Get、Set属性
		/// <summary>
		/// 培训机构名称
		/// </summary>
		public string OrganizationName
		{
			get { return strOrganization; }
			set { strOrganization = value.Trim(); }
		}
		/// <summary>
		/// 培训机构ID
		/// </summary>
		public int OrganizationID
		{
			get { return nOrganizationID; }
			set { nOrganizationID = value; }
		}
		/// <summary>
		/// 培训内容
		/// </summary>
		public string Content
		{
			get { return strContent; }
			set { strContent = value.Trim(); }
		}
		/// <summary>
		/// 培训地点
		/// </summary>
		public string Address
		{
			get { return strAddress; }
			set { strAddress = value.Trim(); }
		}
		public int SortID
		{
			get { return nSortID; }
			set { nSortID = value; }
		}
		public string Name
		{
			get { return strName; }
			set { strName = value.Trim(); }
		}
		public int DepartmentID
		{
			get { return nDepartmentID; }
			set { nDepartmentID = value; }
		}
		/// <summary>
		/// 组织培训单位名称
		/// </summary>
		public string DepartmentName
		{
			get;
			set;
		}
		public string StartDate
		{
			get { return strStartDate; }
			set { strStartDate = value.Trim(); }
		}
		public string EndDate
		{
			get { return strEndDate; }
			set { strEndDate = value.Trim(); }
		}
		public int UserID
		{
			get { return nUserID; }
			set { nUserID = value; }
		}
		public int UserDepartmentID
		{
			get { return nUserDepartmentID; }
			set { nUserDepartmentID = value; }
		}
		public string DateTime
		{
			get { return strDateTime; }
			set { strDateTime = value.Trim(); }
		}
		public string Teachers
		{
			get { return strTeachers; }
			set { strTeachers = value.Trim(); }
		}
		public int Type
		{
			get { return nType; }
			set { nType = value; }
		}
		public int State
		{
			get { return nState; }
			set { nState = value; }
		}
		public string StateName
		{
			get { return strState; }
			set { strState = value.Trim(); }
		}
		#endregion Get、Set属性

		#region 构造函数
		/// <summary>
		/// 实体类构造函数
		/// </summary>
		/// <![CDATA[2014-8-24 13:52:17]]>
		public Entity()
			: base()
		{
		}
		#endregion 构造函数
	}
}
